package client;


import java.io.Serializable;

import ocsf.server.ConnectionToClient;

public class User implements Serializable
{
	public boolean logout = false;
	private String userName = null;
	private String password = null;
	private String name = null;
	private String ipAdd = null;
	private String status = null;
	private int priv = -1;
	private int id = -1;

	public User(){}
	
	public User(String u,String p)
	{
		userName = u;
		password = p;
	}
	public void setUserName(String un)
	{userName=un;}
	
	public String getUserName()
	{return userName;}
	
	public void setPassword(String pass)
	{password=pass;}
	
	public String getPassword()
	{return password;}
	
	public void setName(String n)
	{name = n;}
	
	public String getName()
	{return name;}
	
	public void setipAdd(String ip)
	{ipAdd = ip;}
	
	public String getipAdd()
	{return ipAdd;}
	
	public void setStatus(String s)
	{status = s;}
	
	public String getStatus()
	{return status;}

	public void setPriv(int pr)
	{priv = pr;}
	
	public int getPriv()
	{return priv;}
	
	public void setID(int i)
	{id = i;}
	
	public int getID()
	{return id;}
}
